<?php

class CarregaPesquisa{
	
	var $db;
	var $tpl;
	
	
	function CarregaPesquisa($tmp_path,$js_path) {
		$this->db = new Persist();
		$this->tpl = new TemplatePower(@$tmp_path.'tmpl.CarregaPesquisa.html');
		
		$this->tpl->prepare();
		$this->tpl->assign('path',@$js_path.'libs.CarregaPesquisa.js');
		$this->tpl->assign('path2',@$js_path);

	}
	
	function escreveHtml(){
		return $this->tpl->getOutputContent();
	}
}
?>